getenv — Get Environmental Variable


\begin{rail}
GetEnv : 'getenv' '(' String ')' ;
\end{rail}
getenv searches the environment list for a string that matches the string argument. The value of the environment variable is returned as a string. The getenv function is mostly a wrapper around the C language function of the same name. This means that its behavior depends upon the underlying implementation. On systems with ISO C libraries, getenv will return a zero length string if the environment variable does not exist.

Subsections